from django.contrib import admin
from persons.models import Person


@admin.register(Person)
class PersonAdmin(admin.ModelAdmin):
    list_display = (
        "uuid",
        "status",
        "dept",
        "name",
        "phone",
        "updated",
    )
    list_filter = (
        "status",
        "dept",
    )
    search_fields = (
        "name",
        "phone",
    )
